// 创建并导出数据库连接池
const mysql = require("mysql");
const pool = mysql.createPool({
  host: "127.0.0.1",
  port: "3306",
  user: "root",
  password: "",
  database: "pet",
  // 计算公式： cpu*2+1
  connectionLimit: 33
});
module.exports = pool;